import Request from '@/utils/axios'
//菜单管理
export function getMenuList(data: any) {
  return Request.post('/system/v1/menu/list', data)
}

export function getMenu(data: any) {
  return Request.post('/system/v1/menu/get', data) //menuId
}

export function addMenu(data: any) {
  return Request.post('/system/v1/menu/add', data)
}

export function editMenu(data: any) {
  return Request.post('/system/v1/menu/edit', data)
}

export function deleteMenu(data: any) {
  return Request.post('/system/v1/menu/delete', data)
}
